﻿using LimaLims.Application.Service.Sys.Dto;
using LimaLims.Core;
using LimaLims.Core.Entity.System;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LimaLims.Application.Service.Sys
{
    public interface ISysDictDataService
    {
        Task AddDictData(AddDictDataInput input);

        Task DeleteByTypeId(long dictTypeId);

        Task DeleteDictData(long id);

        Task<SysDictData> GetDictData(long id);

        Task<List<SysDictData>> GetDictDataListByDictTypeId(long dictTypeId);

        Task<PageResult<DictDataOutput>> QueryDictDataPageList([FromQuery] DictDataPageInput input);

        Task UpdateDictData(UpdateDictDataInput input);

    }
}
